{% extends "base_blank.volt" %}

{% block pageFooter %}
{{ javascript_include("/assets/manage/js/sys/login.js", false) }}
{% endblock %}

{% block content %}
<div class="container hide" id="login" callbackUrl="{{ url.get('/') }}">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h1 class="panel-title">{{ this.di.get('moduleConfig').application.id }}</h1>
        </div>
        <div class="panel-body">
            <form role="form" method="post" action="" target="ifr_send_file" enctype="application/x-www-form-urlencoded">
                <input type="hidden" name="callback" value="parent.setFormResult" />
                <div class="form-group">
                    <label class="sr-only" for="op_account">账号:</label>
                    <input type="email" class="form-control" tabindex="1" autofocus="true" name="op_account" id="op_account" placeholder="账号" data-rule="required;">
                </div>
                <div class="form-group">
                    <label class="sr-only" for="op_password">密码:</label>
                    <input type="password" class="form-control" name="op_password" id="op_password" placeholder="密码" data-rule="required;">
                </div>
                <div class="form-group">
                    <button type="submit" class="btn btn-primary btn-block"><i class="fa fa-unlock"></i> 登 录</button>
                </div>
            </form>
        </div>
    </div>
</div>

<!-- Footer Start -->
<div class="container-fluid hide" id="footer">
    <p>Copyright &copy; 2015</p>
</div>
<!-- Footer End -->
{% endblock %}